<?php

function writeLog($logText) {
    $logFile = fopen("/tmp/activity.log", "a");
    fwrite($logFile, date('Y-m-d H:i') . " $logText \n");
    fclose($logFile);
}

?>
